﻿// 1. Write a program that allocates array of 20 integers and initializes each element by its index multiplied by 5. 
// Print the obtained array on the console.
 
using System;

class AllocationOfMatrixWith20Elements
{
    static void Main()
    {
        // define a matrix
        int[] array = new int[20];

        // save the value for every index of the array and display the values on the console
        for (int index = 0; index < 20; index++)
        {
            array[index] = index * 5;
            Console.WriteLine("array[{0}] = {1}", index, index * 5);
        }
    }
}
